package com.entity;

import java.util.HashSet;
import java.util.Set;

import org.apache.struts.action.ActionForm;

import com.util.DateUtils;

/**
 * Ryzl entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Ryzl extends ActionForm implements java.io.Serializable {

	// Fields

	private Integer id;
	private Zd zdByZwbh;
	private Zd zdByBmbh;
	private Zd zdByZcbh;
	private String xm;
	private String bh;
	private String xb;
	private String zp;
	private Long csrq;
	private Long cjgzrq;
	private Long cjjsgzrq;
	private String hyzk;
	private String zzmm;
	private String mz;
	private String jg;
	private String xl;
	private String zy;
	private String byyx;
	private String lxdz;
	private String sfzh;
	private String lxdh;
	private Integer jbgz;
	private String rysx;
	private Long htqx;
	private String grjl;
	private String bz;
	private Long lzsj;
	private String gzzt;
	private Long htqx2;
	private Long addTime;
	private String shzt;
	private String gwdj;
	private Integer nl;
	private Integer fgfns;
	
	private Set rykps = new HashSet(0);
	private Set rypxes = new HashSet(0);
	private Set rytxes = new HashSet(0);
	private Set rydds = new HashSet(0);
    private Dlyh dlyh;
	private Zd zdshr;
	private String fj;
	String csrqString;
	String cjgzrqString;
	String cjjsgzrqString;
	String htqxString;
	String htqx2String;
	String lzsjString;
	String addTimeString;
	// Constructors

	public String getCsrqString() {
		if(csrq!=null){
			return DateUtils.DateToString(DateUtils.longToDate(csrq));
		}else{
			return "";
		}
		
	}

	public void setCsrqString(String csrqString) {
		this.csrqString = csrqString;
	}

	public String getCjgzrqString() {
		if(cjgzrq!=null){
			return DateUtils.DateToString(DateUtils.longToDate(cjgzrq));
		}else{
			return "";
		}
	}

	public void setCjgzrqString(String cjgzrqString) {
		this.cjgzrqString = cjgzrqString;
	}

	public String getCjjsgzrqString() {
		if(cjjsgzrq!=null){
			return DateUtils.DateToString(DateUtils.longToDate(cjjsgzrq));
		}else{
			return "";
		}
		
	}

	public void setCjjsgzrqString(String cjjsgzrqString) {
		this.cjjsgzrqString = cjjsgzrqString;
	}

	public String getHtqxString() {
		if(htqx!=null){
			return DateUtils.DateToString(DateUtils.longToDate(htqx));
		}else{
			return "";
		}
		
	}

	public void setHtqxString(String htqxString) {
		this.htqxString = htqxString;
	}

	public String getHtqx2String() {
		if(htqx2!=null){
			return DateUtils.DateToString(DateUtils.longToDate(htqx2));
		}else{
			return "";
		}
		
	}

	public void setHtqx2String(String htqx2String) {
		this.htqx2String = htqx2String;
	}

	public String getLzsjString() {
		if(lzsj!=null){
			return DateUtils.DateToString(DateUtils.longToDate(lzsj));
		}else{
			return "";
		}
	}

	public void setLzsjString(String lzsjString) {
		this.lzsjString = lzsjString;
	}

	public String getAddTimeString() {
		if(addTime!=null){
			return DateUtils.DateToString(DateUtils.longToDate(addTime));
		}else{
			return "";
		}
	}

	public void setAddTimeString(String addTimeString) {
		this.addTimeString = addTimeString;
	}

	/** default constructor */
	public Ryzl() {
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Zd getZdByZwbh() {
		return this.zdByZwbh;
	}

	public void setZdByZwbh(Zd zdByZwbh) {
		this.zdByZwbh = zdByZwbh;
	}

	public Zd getZdByBmbh() {
		return this.zdByBmbh;
	}

	public void setZdByBmbh(Zd zdByBmbh) {
		this.zdByBmbh = zdByBmbh;
	}

	public Zd getZdByZcbh() {
		return this.zdByZcbh;
	}

	public void setZdByZcbh(Zd zdByZcbh) {
		this.zdByZcbh = zdByZcbh;
	}

	public String getXm() {
		return this.xm;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}

	public String getBh() {
		return this.bh;
	}

	public void setBh(String bh) {
		this.bh = bh;
	}

	public String getXb() {
		return this.xb;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}

	public String getZp() {
		return this.zp;
	}

	public void setZp(String zp) {
		this.zp = zp;
	}

	public Long getCsrq() {
		return this.csrq;
	}

	public void setCsrq(Long csrq) {
		this.csrq = csrq;
	}

	public Long getCjgzrq() {
		return this.cjgzrq;
	}

	public void setCjgzrq(Long cjgzrq) {
		this.cjgzrq = cjgzrq;
	}

	public Long getCjjsgzrq() {
		return this.cjjsgzrq;
	}

	public void setCjjsgzrq(Long cjjsgzrq) {
		this.cjjsgzrq = cjjsgzrq;
	}

	public String getHyzk() {
		return this.hyzk;
	}

	public void setHyzk(String hyzk) {
		this.hyzk = hyzk;
	}

	public String getZzmm() {
		return this.zzmm;
	}

	public void setZzmm(String zzmm) {
		this.zzmm = zzmm;
	}

	public String getMz() {
		return this.mz;
	}

	public void setMz(String mz) {
		this.mz = mz;
	}

	public String getJg() {
		return this.jg;
	}

	public void setJg(String jg) {
		this.jg = jg;
	}

	public String getXl() {
		return this.xl;
	}

	public void setXl(String xl) {
		this.xl = xl;
	}

	public String getZy() {
		return this.zy;
	}

	public void setZy(String zy) {
		this.zy = zy;
	}

	public String getByyx() {
		return this.byyx;
	}

	public void setByyx(String byyx) {
		this.byyx = byyx;
	}

	public String getLxdz() {
		return this.lxdz;
	}

	public void setLxdz(String lxdz) {
		this.lxdz = lxdz;
	}

	public String getSfzh() {
		return this.sfzh;
	}

	public void setSfzh(String sfzh) {
		this.sfzh = sfzh;
	}

	public String getLxdh() {
		return this.lxdh;
	}

	public void setLxdh(String lxdh) {
		this.lxdh = lxdh;
	}

	public Integer getJbgz() {
		return this.jbgz;
	}

	public void setJbgz(Integer jbgz) {
		this.jbgz = jbgz;
	}

	public String getRysx() {
		return this.rysx;
	}

	public void setRysx(String rysx) {
		this.rysx = rysx;
	}

	public Long getHtqx() {
		return this.htqx;
	}

	public void setHtqx(Long htqx) {
		this.htqx = htqx;
	}

	public String getGrjl() {
		return this.grjl;
	}

	public void setGrjl(String grjl) {
		this.grjl = grjl;
	}

	public String getBz() {
		return this.bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public Long getLzsj() {
		return this.lzsj;
	}

	public void setLzsj(Long lzsj) {
		this.lzsj = lzsj;
	}

	public String getGzzt() {
		return this.gzzt;
	}

	public void setGzzt(String gzzt) {
		this.gzzt = gzzt;
	}

	public Long getHtqx2() {
		return this.htqx2;
	}

	public void setHtqx2(Long htqx2) {
		this.htqx2 = htqx2;
	}


	public Long getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Set getRykps() {
		return this.rykps;
	}

	public void setRykps(Set rykps) {
		this.rykps = rykps;
	}

	public Set getRypxes() {
		return this.rypxes;
	}

	public void setRypxes(Set rypxes) {
		this.rypxes = rypxes;
	}

	public Set getRytxes() {
		return this.rytxes;
	}

	public void setRytxes(Set rytxes) {
		this.rytxes = rytxes;
	}

	public Set getRydds() {
		return this.rydds;
	}

	public void setRydds(Set rydds) {
		this.rydds = rydds;
	}

	public String getShzt() {
		return shzt;
	}

	public void setShzt(String shzt) {
		this.shzt = shzt;
	}

	public Dlyh getDlyh() {
		return dlyh;
	}

	public void setDlyh(Dlyh dlyh) {
		this.dlyh = dlyh;
	}

	public Zd getZdshr() {
		return zdshr;
	}

	public void setZdshr(Zd zdshr) {
		this.zdshr = zdshr;
	}

	public String getFj() {
		return fj;
	}

	public void setFj(String fj) {
		this.fj = fj;
	}

	public Integer getNl() {
		return nl;
	}

	public void setNl(Integer nl) {
		this.nl = nl;
	}


	public Ryzl(Integer id, Zd zdByZwbh, Zd zdByBmbh, Zd zdByZcbh, String xm,
			String bh, String xb, String zp, Long csrq, Long cjgzrq,
			Long cjjsgzrq, String hyzk, String zzmm, String mz, String jg,
			String xl, String zy, String byyx, String lxdz, String sfzh,
			String lxdh, Integer jbgz, String rysx, Long htqx, String grjl,
			String bz, Long lzsj, String gzzt, Long htqx2, Long addTime,
			String shzt, Integer nl, Set rykps, Set rypxes,
			Set rytxes, Set rydds, Dlyh dlyh, Zd zdshr, String fj,
			String csrqString, String cjgzrqString, String cjjsgzrqString,
			String htqxString, String htqx2String, String lzsjString,
			String addTimeString) {
		super();
		this.id = id;
		this.zdByZwbh = zdByZwbh;
		this.zdByBmbh = zdByBmbh;
		this.zdByZcbh = zdByZcbh;
		this.xm = xm;
		this.bh = bh;
		this.xb = xb;
		this.zp = zp;
		this.csrq = csrq;
		this.cjgzrq = cjgzrq;
		this.cjjsgzrq = cjjsgzrq;
		this.hyzk = hyzk;
		this.zzmm = zzmm;
		this.mz = mz;
		this.jg = jg;
		this.xl = xl;
		this.zy = zy;
		this.byyx = byyx;
		this.lxdz = lxdz;
		this.sfzh = sfzh;
		this.lxdh = lxdh;
		this.jbgz = jbgz;
		this.rysx = rysx;
		this.htqx = htqx;
		this.grjl = grjl;
		this.bz = bz;
		this.lzsj = lzsj;
		this.gzzt = gzzt;
		this.htqx2 = htqx2;
		this.addTime = addTime;
		this.shzt = shzt;
		this.nl = nl;
		this.rykps = rykps;
		this.rypxes = rypxes;
		this.rytxes = rytxes;
		this.rydds = rydds;
		this.dlyh = dlyh;
		this.zdshr = zdshr;
		this.fj = fj;
		this.csrqString = csrqString;
		this.cjgzrqString = cjgzrqString;
		this.cjjsgzrqString = cjjsgzrqString;
		this.htqxString = htqxString;
		this.htqx2String = htqx2String;
		this.lzsjString = lzsjString;
		this.addTimeString = addTimeString;
	}

	public String getGwdj() {
		return gwdj;
	}

	public void setGwdj(String gwdj) {
		this.gwdj = gwdj;
	}

	public Integer getFgfns() {
		return fgfns;
	}

	public void setFgfns(Integer fgfns) {
		this.fgfns = fgfns;
	}


}